package upload;

import java.net.*;

public class Server 
{
	public static void main(String args[]){
		int port=8888;
		try
		{
			ServerSocket server = new ServerSocket(port);
			while (true)
			{
				Socket socket = server.accept();
				new ReceFile(socket).start();	
			}
		}
		catch (Exception e)
		{
			e.printStackTrace();
		}
		
	}
}


